package com.bcqn.dao;

import com.bcqn.model.JobCollection;
import org.apache.ibatis.annotations.Param;

public interface JobCollectionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(JobCollection record);

    int insertSelective(JobCollection record);

    JobCollection selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(JobCollection record);

    int updateByPrimaryKey(JobCollection record);

    int deleteByUserIdAndJobId(@Param("userId") Long userId, @Param("jobId") Long jobId);

    boolean selectByUserIdJobId(@Param("userId") Long userId, @Param("jobId") Long jobId);
}